\hypertarget{commKTask_8c}{
\section{tasks/commKTask.c File Reference}
\label{commKTask_8c}\index{tasks/commKTask.c@{tasks/commKTask.c}}
}
{\ttfamily \#include $<$stdint.h$>$}\par
{\ttfamily \#include $<$stdio.h$>$}\par
{\ttfamily \#include $<$stdlib.h$>$}\par
{\ttfamily \#include $<$string.h$>$}\par
{\ttfamily \#include \char`\"{}commKTask.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}FreeRTOS.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}task.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}nxbot.h\char`\"{}}\par
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{group__nxbot__commTask_ga3b5eaa011250b1569484ec0443e361a9}{executeCommTask} (\hyperlink{structglobals__t}{globals\_\-t} $\ast$pvParameters)
\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
xTaskHandle \hyperlink{commKTask_8c_a530db8c8f5d4566f119839f2521d3f56}{commHandle}
\begin{DoxyCompactList}\small\item\em The handle for the communication task. \item\end{DoxyCompactList}\item 
xTaskHandle \hyperlink{commKTask_8c_a6e4a3ffc616e13ac5f975a87d8b969ee}{soundHandle}
\begin{DoxyCompactList}\small\item\em The handle for the sound task. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Variable Documentation}
\hypertarget{commKTask_8c_a530db8c8f5d4566f119839f2521d3f56}{
\index{commKTask.c@{commKTask.c}!commHandle@{commHandle}}
\index{commHandle@{commHandle}!commKTask.c@{commKTask.c}}
\subsubsection[{commHandle}]{\setlength{\rightskip}{0pt plus 5cm}xTaskHandle {\bf commHandle}}}
\label{commKTask_8c_a530db8c8f5d4566f119839f2521d3f56}


The handle for the communication task. This task handles all the communication through the serial port (UART1). It is declared as a global variable, in order to use it in other modules of the firmware. \hypertarget{commKTask_8c_a6e4a3ffc616e13ac5f975a87d8b969ee}{
\index{commKTask.c@{commKTask.c}!soundHandle@{soundHandle}}
\index{soundHandle@{soundHandle}!commKTask.c@{commKTask.c}}
\subsubsection[{soundHandle}]{\setlength{\rightskip}{0pt plus 5cm}xTaskHandle {\bf soundHandle}}}
\label{commKTask_8c_a6e4a3ffc616e13ac5f975a87d8b969ee}


The handle for the sound task. This task is always suspended and only activated by the communication task. It handles the timing for the musical notes. It is declared as a global variable, in order to use it in other modules of the firmware. 